package com.godpaper.as9.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.godpaper.as9.commands.GetMessageListCommand;
	import com.godpaper.as9.commands.SetMessageInfoCommand;
	import com.godpaper.as9.commands.TryDeleteMessageCommand;

	public class MessageController extends FrontController
	{
		public static const GET_MESSAGE_LIST:String 	= "getMessageList";
		public static const SET_MESSAGE_INFO:String 	= "setMessageInfo";
		public static const TRY_DELETE_MESSAGE:String	= "tryDeleteMessage";
		
		public function MessageController()
		{
			super();
			addCommand(MessageController.GET_MESSAGE_LIST,GetMessageListCommand);
			addCommand(MessageController.SET_MESSAGE_INFO,SetMessageInfoCommand);
			addCommand(MessageController.TRY_DELETE_MESSAGE,TryDeleteMessageCommand);
		}
		
	}
}